package com.hcj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Customer {
    //设置id自增
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    @TableField(select = false)//限制这个字段不参与查询
    private String password;
    private String email;
//    @TableField("a")
    private String a;
    private String b;

}
